package com.qust.securityapi.eneity;

import lombok.Data;

import java.io.Serializable;
import java.util.Set;

/**
 * @author Frank KONG
 * @version 1.0
 * @date 2021/11/22 19:25
 */
@Data
public class Auth implements Serializable {

    private static final long serialVersionUID = -1055290691777144777L;

    /**
     * 账号信息
     */
    private String userName;
    private String userId;
    private Set<String> roles;
    private String ip;
    private boolean administrator;
    private String department;

    /**
     * 其他信息
     */
    private String lookupPath;
    private String mail;
    private String phoneNo;
}
